package cn.cq.admin.entity.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户登录日志表
 * @TableName t_login_log
 */
@TableName(value ="t_login_log")
@Data
public class TLoginLog extends BaseModel implements Serializable {
    /**
     * 登录账号
     */
    @TableField(value = "account")
    private String account;

    /**
     * 最后登录时间
     */
    @TableField(value = "latest_time")
    private Date latestTime;

    /**
     * 最后登录ip
     */
    @TableField(value = "latest_ip")
    private String latestIp;

    /**
     * 所属用户Id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 登录所用token
     */
    @TableField(value = "user_token")
    private String userToken;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
